package cn.lingyangwl.agile.msg.push.model.rqrs.receiver;

import cn.lingyangwl.agile.model.constants.ValidationCons;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 消息通知订阅者发送变化的请求(保存/删除)
 * @author shenguangyang
 */
@Data
public class MsgSubscriberChangeReq {
    @NotNull(message = ValidationCons.NOT_EMPTY)
    @Size(min = 1, message = ValidationCons.NOT_EMPTY)
    private List<Long> noticeIds;

    @NotNull(message = ValidationCons.NOT_EMPTY)
    @Size(min = 1, message = ValidationCons.NOT_EMPTY)
    private List<Long> receiverIds;
}
